Crate ntex_io

source ·
Expand description

Utilities for abstructing io streams

Modules

utilities and helpers for testing
Query related types

Structs

Default Io filter
Dispatcher - is a future that reads frames from bytes stream and pass then to the service.
A unified interface to an underlying I/O object, using the Encoder and Decoder traits to encode and decode frames. Framed is heavily optimized for streaming io.
Interface object to underlying io stream
Boxed Io object with erased filter type
OnDisconnect future resolves when socket get disconnected
Context for io read task
Sealed filter type
Context for io write task

Enums

Dispatcher item
Status for read task
Recv error
Status for write task

Traits

Creates new Filter values.

Functions

Create filter factory service
Service that converts any Io stream to IoBoxed stream